#include <iostream>
#include <exception>

using namespace std;


int main(){
    try{
        int i = 1 / 0;
    }
    catch(exception a){
        cout << "-----------" << endl;
        cout << a.what() << endl;
        cout << "-----------" << endl;
    }
}